<?
// UltraMemo Project - Quiz_GetWkShtListFeed.php
//   get data from google doc spreadsheet
//   included from Quiz.php
//
// 11/16/09 initial creation - Scott Szretter

function getWkshtListFeed($gdClient, $ssKey, $wkshtId, $queryString=null) {
    $query = new Zend_Gdata_Spreadsheets_ListQuery();
    $query->setSpreadsheetKey($ssKey);
    $query->setWorksheetId($wkshtId);
    if ($queryString !== null) {
        $query->setSpreadsheetQuery($queryString);
    }
    $listFeed = $gdClient->getListFeed($query);
    return $listFeed;
}
?>